MICROSOFT AZURE CERTIFICATION Exam AZ-104 Questions V20.02 Microsoft Azure certification Topics - Microsoft Azure Administrator Updated AZ-104 Exam Questions [2022] To Pass Microsoft AZ-104 Exam 1. Topic 1, Litware, inc. Overview Litware, Ltd. is a consulting company that has a main office in Montreal and two branch offices in Seattle and New York. The Montreal office has 2,000 employees. The Seattle office has 1,000 employees. The New York office has 200 employees. All the resources used by Litware are hosted on-premises. Litware creates a new Azure subscription. The Azure Active Directory (Azure AD) tenant uses a domain named Litware.onmicrosoft.com. The tenant uses the P1 pricing tier. Existing Environment The network contains an Active Directory forest named Litware.com. All domain controllers are configured as DNS servers and host the Litware.com DNS zone. Litware has finance, human resources, sales, research, and information technology departments. Each department has an organizational unit (OU) that contains all the accounts of that respective department. All the user accounts have the department attribute set to their respective department. New users are added frequently. Litware.com contains a user named User1. All the offices connect by using private links. Litware has data centers in the Montreal and Seattle offices. Each data center has a firewall that can be configured as a VPN device. All infrastructure servers are virtualized. The virtualization environment contains the servers in the following table. Litware uses two web applications named App1 and App2. Each instance on each web application requires 1GB of memory. The Azure subscription contains the resources in the following table. Updated AZ-104 Exam Questions [2022] To Pass Microsoft AZ-104 Exam The network security team implements several network security groups (NSGs). Planned Changes Litware plans to implement the following changes: • Deploy Azure ExpressRoute to the Montreal office. • Migrate the virtual machines hosted on Server1 and Server2 to Azure. • Synchronize on-premises Active Directory to Azure Active Directory (Azure AD). • Migrate App1 and App2 to two Azure web apps named webApp1 and WebApp2. Technical requirements Litware must meet the following technical requirements: • Ensure that WebApp1 can adjust the number of instances automatically based on the load and can scale up to five instance*. • Ensure that VM3 can establish outbound connections over TCP port 8080 to the applications servers in the Montreal office. • Ensure that routing information is exchanged automatically between Azure and the routers in the Montreal office. • Enable Azure Multi-Factor Authentication (MFA) for the users in the finance department only. • Ensure that webapp2.azurewebsites.net can be accessed by using the name app2.Litware.com. • Connect the New Your office to VNet1 over the Internet by using an encrypted connection. • Create a workflow to send an email message when the settings of VM4 are modified. • Create a custom Azure role named Role1 that is based on the Reader role. • Minimize costs whenever possible. HOTSPOT You need to meet the connection requirements for the New York office. What should you do? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point. Updated AZ-104 Exam Questions [2022] To Pass Microsoft AZ-104 Exam Answer: Explanation: Box 1: Create a virtual network gateway and a local network gateway. Azure VPN gateway. The VPN gateway service enables you to connect the VNet to the on-premises network through a VPN appliance. For more information, see Connect an on-premises network to a Microsoft Azure virtual network. The VPN gateway includes the following elements: ✑ Virtual network gateway. A resource that provides a virtual VPN appliance for the VNet. It is responsible for routing traffic from the on-premises network to the VNet. ✑ Local network gateway. An abstraction of the on-premises VPN appliance. Network traffic from the cloud application to the on-premises network is routed through this gateway. ✑ Connection. The connection has properties that specify the connection type (IPSec) and the key shared with the on-premises VPN appliance to encrypt traffic. ✑ Gateway subnet. The virtual network gateway is held in its own subnet, which is subject to various requirements, described in the Recommendations section below. Updated AZ-104 Exam Questions [2022] To Pass Microsoft AZ-104 Exam Box 2: Configure a site-to-site VPN connection On premises create a site-to-site connection for the virtual network gateway and the local network gateway. Scenario: Connect the New York office to VNet1 over the Internet by using an encrypted connection. 2.You need to recommend a solution to automate the configuration for the finance department users. The solution must meet the technical requirements. What should you include in the recommended? A. Azure AP B2C B. Azure AD Identity Protection C. an Azure logic app and the Microsoft Identity Management (MIM) client D. dynamic groups and conditional access policies Answer: D Explanation: Technically, The finance department needs to migrate their users from AD to AAD using AADC based on the finance OU, and need to enforce MFA use. This is conditional access policy. Employees also often get promotions and/or join other departments and when that occurs, the user's OU attribute will change when the admin puts the user in a new OU, and the dynamic group conditional access exception (OU= [Department Name Value]) will move the user to the appropriate dynamic group on next AADC delta sync. https://docs.microsoft.com/en-us/azure/active-directory/enterprise-users/groups- dynamic- membership https://docs.microsoft.com/en-us/azure/active-directory/conditional-access/overview Updated AZ-104 Exam Questions [2022] To Pass Microsoft AZ-104 Exam https://docs.microsoft.com/en-us/azure/active-directory/authentication/howto-mfa- userstates 3.You need to ensure that VM1 can communicate with VM4. The solution must minimize administrative effort. What should you do? A. Create 2 user-defined route from VNET1 to VNET3. B. Assign VM4 an IP address of 10.0.1.5/24. C. Establish peering between VNET1 and VNET3. D. Create an NSG and associate the NSG to VMI and VM4. Answer: B Explanation: Reference: https://docs.microsoft.com/en-us/azure/vpn-gateway/tutorial-site-to-site- portal 4.You discover that VM3 does NOT meet the technical requirements. You need to verify whether the issue relates to the NSGs. What should you use? A. Diagram in VNet1 B. the security recommendations in Azure Advisor C. Diagnostic settings in Azure Monitor D. Diagnose and solve problems in Traffic Manager Profiles E. IP flow verify in Azure Network Watcher Answer: E Explanation: Scenario: Litware must meet technical requirements including: Ensure that VM3 can establish outbound connections over TCP port 8080 to the applications servers in the Montreal office. IP flow verify checks if a packet is allowed or denied to or from a virtual machine. The information consists of direction, protocol, local IP, remote IP, local port, and remote port. If the packet is denied by a security group, the name of the rule that denied the packet is returned. While any source or destination IP can be chosen, IP flow verify helps administrators quickly diagnose connectivity issues from or to the internet and from or to the on-premises environment. References: https://docs.microsoft.com/en-us/azure/network-watcher/network- watcher-ip-flow-verify- overview 5.You discover that VM3 does NOT meet the technical requirements. You need to verify whether the issue relates to the NSGs. Updated AZ-104 Exam Questions [2022] To Pass Microsoft AZ-104 Exam What should you use? A. Diagnose and solve problems in Traffic Manager profiles B. Diagnostic settings in Azure Monitor C. the security recommendations in Azure Advisor D. Diagram in VNet1 E. IP flow verify in Azure Network Watcher Answer: E 6.You need to meet the technical requirement for VM4. What should you create and configure? A. an Azure Notification Hub B. an Azure Event Hub C. an Azure Logic App D. an Azure services Bus Answer: C 7.HOTSPOT You need to the appropriate sizes for the Azure virtual for Server2. What should you do? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point. Answer: Updated AZ-104 Exam Questions [2022] To Pass Microsoft AZ-104 Exam Explanation: Box 1: Create a Recovery Services vault Create a Recovery Services vault on the Azure Portal. Box 2: Install the Azure Site Recovery Provider Azure Site Recovery can be used to manage migration of on-premises machines to Azure. Scenario: Migrate the virtual machines hosted on Server1 and Server2 to Azure. Server2 has the Hyper-V host role. References: https://docs.microsoft.com/en-us/azure/site-recovery/migrate-tutorial-on- premises-azure 8.HOTSPOT You need to implement Role1. Which command should you run before you create Role1? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point. Updated AZ-104 Exam Questions [2022] To Pass Microsoft AZ-104 Exam Answer: Explanation: https://docs.microsoft.com/en-us/azure/role-based-access-control/tutorial-custom-role- powershellGet-AzRoleDefinition -Name "Reader" | ConvertTo-Json https://docs.microsoft.com/en-us/powershell/module/az.resources/get- azroledefinition?view=azps-5.9.0 https://docs.microsoft.com/en-us/azure/role-based-access-control/tutorial-custom-role- powershell https://docs.microsoft.com/en- us/powershell/module/microsoft.powershell.utility/convertto-json?view=powershell-7.1 https://docs.microsoft.com/en-us/powershell/module/azuread/get- azureaddirectoryrole?view=azureadps-2.0 9. Topic 2, Humongous Insurance Overview Existing Environment Humongous Insurance is an insurance company that has three offices in Miami, Tokoyo, and Bankok. Each has 5000 users. Active Directory Environment Humongous Insurance has a single-domain Active Directory forest named humongousinsurance.com. The functional level of the forest is Windows Server 2012. You recently provisioned an Azure Active Directory (Azure AD) tenant. Network Infrastructure Each office has a local data center that contains all the servers for that office. Each office has a dedicated connection to the Internet. Each office has several link load balancers that provide access to the servers. Active Directory Issue Several users in humongousinsurance.com have UPNs that contain special Updated AZ-104 Exam Questions [2022] To Pass Microsoft AZ-104 Exam characters. You suspect that some of the characters are unsupported in Azure AD. Licensing Issue You attempt to assign a license in Azure to several users and receive the following error message: "Licenses not assigned. License agreement failed for one user." You verify that the Azure subscription has the available licenses. Requirements Planned Changes Humongous Insurance plans to open a new office in Paris. The Paris office will contain 1,000 users who will be hired during the next 12 months. All the resources used by the Paris office users will be hosted in Azure. Planned Azure AD Infrastructure The on-premises Active Directory domain will be synchronized to Azure AD. All client computers in the Paris office will be joined to an Azure AD domain. Planned Azure Networking Infrastructure You plan to create the following networking resources in a resource group named All_Resources: ✑ Default Azure system routes that will be the only routes used to route traffic ✑ A virtual network named Paris-VNet that will contain two subnets named Subnet1 and Subnet2 ✑ A virtual network named ClientResources-VNet that will contain one subnet named ClientSubnet ✑ A virtual network named AllOffices-VNet that will contain two subnets named Subnet3 and Subnet4 You plan to enable peering between Paris-VNet and AllOffices-VNet. You will enable the Use remote gateways setting for the Paris-VNet peerings. You plan to create a private DNS zone named humongousinsurance.local and set the registration network to the ClientResources-VNet virtual network. Planned Azure Computer Infrastructure Each subnet will contain several virtual machines that will run either Windows Server 2012 R2, Windows Server 2016, or Red Hat Linux. Department Requirements Humongous Insurance identifies the following requirements for the company's departments: ✑ Web administrators will deploy Azure web apps for the marketing department. Each web app will be added to a separate resource group. The initial configuration of the web apps will be identical. The web administrators have permission to deploy web Updated AZ-104 Exam Questions [2022] To Pass Microsoft AZ-104 Exam apps to resource groups. ✑ During the testing phase, auditors in the finance department must be able to review all Azure costs from the past week. Authentication Requirements Users in the Miami office must use Azure Active Directory Seamless Single Sign-on (Azure AD Seamless SSO) when accessing resources in Azure. 10.You need to define a custom domain name for Azure AD to support the planned infrastructure. Which domain name should you use? A. Join the client computers in the Miami office to Azure AD. B. Add http://autologon.microsoftazuread-sso.com to the intranet zone of each client computer in the Miami office. C. humongousinsurance.com D. Install Azure AD Connect on a server in the Miami office and enable Pass-through Authentication E. Install the Active Directory Federation Services (AD FS) role on a domain controller in the Miami office. Answer: C 11.You need to prepare the environment to meet the authentication requirements. Which two actions should you perform? Each correct answer presents part of the solution. NOTE: Each correct selection is worth one point. A. Allow inbound TCP port 8080 to the domain controllers in the Miami office. B. Add http://autogon.microsoftazuread-sso.com to the intranet zone of each client computer in the Miami office. C. Join the client computers in the Miami office to Azure AD. D. Install the Active Directory Federation Services (AD FS) role on a domain controller in the Miami office. E. Install Azure AD Connect on a server in the Miami office and enable Pass-through Authentication. Answer: B,E Explanation: B: You can gradually roll out Seamless SSO to your users. You start by adding the following Azure AD URL to all or selected users' Intranet zone settings by using Group Policy in Active Directory: https://autologon.microsoftazuread-sso.com E: Seamless SSO works with any method of cloud authentication - Password Hash Synchronization or Pass-through Authentication, and can be enabled via Azure AD Connect. References: https://docs.microsoft.com/en-us/azure/active-directory/hybrid/how-to- Updated AZ-104 Exam Questions [2022] To Pass Microsoft AZ-104 Exam connect-sso-quick-start 12.Which blade should you instruct the finance department auditors to use? A. Partner information B. Overview C. Payment methods D. Invoices Answer: D Explanation: You can opt in and configure additional recipients to receive your Azure invoice in an email. This feature may not be available for certain subscriptions such as support offers, Enterprise Agreements, or Azure in Open. ✑ Select your subscription from the Subscriptions page. Opt-in for each subscription you own. Click Invoices then Email my invoice. ✑ Click Opt in and accept the terms. Scenario: During the testing phase, auditors in the finance department must be able to review all Azure costs from the past week. References: https://docs.microsoft.com/en-us/azure/billing/billing-download-azure- invoice-daily-usage-date 13.You need to resolve the Active Directory issue. What should you do? A. From Active Directory Users and Computers, select the user accounts, and then modify the User Principal Name value. B. Run idfix.exe, and then use the Edit action. C. From Active Directory Domains and Trusts, modify the list of UPN suffixes. D. From Azure AD Connect, modify the outbound synchronization rule. Answer: B Explanation: IdFix is used to perform discovery and remediation of identity objects and their attributes in an on-premises Active Directory environment in preparation for migration to Azure Active Directory. IdFix is intended for the Active Directory administrators responsible for directory synchronization with Azure Active Directory. Scenario: Active Directory Issue Several users in humongousinsurance.com have UPNs that contain special characters. You suspect that some of the characters are unsupported in Azure AD. References: https://www.microsoft.com/en-us/download/details.aspx?id=36832 14.HOTSPOT Updated AZ-104 Exam Questions [2022] To Pass Microsoft AZ-104 Exam You are evaluating the connectivity between the virtual machines after the planned implementation of the Azure networking infrastructure. For each of the following statements, select Yes if the statement is true. Otherwise, select No. Answer: Explanation: Once the VNets are peered, all resources on one VNet can communicate with resources on the other peered VNets. You plan to enable peering between Paris- VNet and AllOffices-VNet. Therefore VMs on Subnet1, which is on Paris-VNet and VMs on Subnet3, which is on AllOffices-VNet will be able to connect to each other. All Azure resources connected to a VNet have outbound connectivity to the Internet by default. Therefore VMs on ClientSubnet, which is on ClientResources-VNet will have access to the Internet; and VMs on Subnet3 and Subnet4, which are on AllOffices-VNet will have access to the Internet. 15.HOTSPOT You are evaluating the name resolution for the virtual machines after the planned implementation of the Azure networking infrastructure. For each of the following statements, select Yes if the statement is true. Otherwise, Updated AZ-104 Exam Questions [2022] To Pass Microsoft AZ-104 Exam select No. Answer: Explanation: Statement 1: Yes All client computers in the Paris office will be joined to an Azure AD domain. A virtual network named Paris-VNet that will contain two subnets named Subnet1 and Subnet2. Microsoft Windows Server Active Directory domains, can resolve DNS names between virtual networks. Automatic registration of virtual machines from a virtual network that's linked to a private zone with auto-registration enabled. Forward DNS resolution is supported across virtual networks that are linked to the private zone. Statement 2: Yes A virtual network named ClientResources-VNet that will contain one subnet named ClientSubnet You plan to create a private DNS zone named humongousinsurance.local and set the registration network to the ClientResources- VNet virtual network. As this is a registration network so this will work. Statement 3: No Only VMs in the registration network, here the ClientResources-VNet, will be able to register hostname records. Since Subnet4 not connected to Client Resources Network thus not able to register its hostname with humongoinsurance.local 16.You need to prepare the environment to meet the authentication requirements. Updated AZ-104 Exam Questions [2022] To Pass Microsoft AZ-104 Exam Which two actions should you perform? Each correct answer presents part of the solution. NOTE Each correct selection is worth one point. A. Azure Active Directory (AD) Identity Protection and an Azure policy B. a Recovery Services vault and a backup policy C. an Azure Key Vault and an access policy D. an Azure Storage account and an access policy Answer: C Explanation: D: Seamless SSO works with any method of cloud authentication - Password Hash Synchronization or Pass-through Authentication, and can be enabled via Azure AD Connect. B: You can gradually roll out Seamless SSO to your users. You start by adding the following Azure AD URL to all or selected users' Intranet zone settings by using Group Policy in Active Directory: https://autologon.microsoftazuread-sso.com 17.You need to define a custom domain name for Azure AD to support the planned infrastructure. Which domain name should you use? A. ad.humongousinsurance.com B. humongousinsurance.onmicrosoft.com C. humongousinsurance.local D. humongousinsurance.com Answer: D Explanation: Every Azure AD directory comes with an initial domain name in the form of domainname.onmicrosoft.com. The initial domain name cannot be changed or deleted, but you can add your corporate domain name to Azure AD as well. For example, your organization probably has other domain names used to do business and users who sign in using your corporate domain name. Adding custom domain names to Azure AD allows you to assign user names in the directory that are familiar to your users, such as ‘alice@contoso.com.’ instead of 'alice@domain name.onmicrosoft.com'. Scenario: Network Infrastructure: Each office has a local data center that contains all the servers for that office. Each office has a dedicated connection to the Internet. Humongous Insurance has a single-domain Active Directory forest named humongousinsurance.com Planned Azure AD Infrastructure: The on-premises Active Directory domain will be synchronized to Azure AD. References: https://docs.microsoft.com/en-us/azure/active- directory/fundamentals/add-custom-domain Updated AZ-104 Exam Questions [2022] To Pass Microsoft AZ-104 Exam 18.Which blade should you instruct the finance department auditors to use? A. invoices B. partner information C. cost analysis D. External services Answer: C Explanation: Cost analysis: Correct Option In cost analysis blade of Azure, you can see all the detail for custom time span. You can use this to determine expenditure of last few day, weeks, and month. Below options are available in Cost analysis blade for filtering information by time span: last 7 days, last 30 days, and custom date range. Choosing the first option (last 7 days) auditors can view the costs by time span. Cost analysis shows data for the current month by default. Use the date selector to switch to common date ranges quickly. Examples include the last seven days, the last month, the current year, or a custom date range. Pay-as-you-go subscriptions also include date ranges based on your billing period, which isn't bound to the calendar month, like the current billing period or last invoice. Use the <PREVIOUS and NEXT> links at the top of the menu to jump to the previous or next period, respectively. For example, <PREVIOUS will switch from the Last 7 days to 8-14 days ago or 15-21 days ago. Updated AZ-104 Exam Questions [2022] To Pass Microsoft AZ-104 Exam Invoice: Incorrect Option Invoices can only be used for past billing periods not for current billing period, i.e. if your requirement is to know the last week's cost then that also not filled by invoices because Azure generates invoice at the end of the month. Even though Invoices have custom timespan, but when you put in dates for a week, the pane would be empty. Below is from Microsoft document: Updated AZ-104 Exam Questions [2022] To Pass Microsoft AZ-104 Exam Resource Provider: Incorrect Option When deploying resources, you frequently need to retrieve information about the resource providers and types. For example, if you want to store keys and secrets, you work with the Microsoft.KeyVault resource provider. This resource provider offers a resource type called vaults for creating the key vault. This is not useful for reviewing all Azure costs from the past week which is required for audit. Payment method: Incorrect Option Payment methods is not useful for reviewing all Azure costs from the past week which is required for audit. Reference: https://docs.microsoft.com/en-us/azure/cost-management-billing/costs/quick-acm-cost- analysis https://docs.microsoft.com/en-us/azure/cost-management-billing/manage/download- azure-invoice-daily-usage-date 19.You need to resolve the licensing issue before you attempt to assign the license again. What should you do? A. From the Groups blade, invite the user accounts to a new group. B. From the Profile blade, modify the usage location. C. From the Directory role blade, modify the directory role. Answer: B Explanation: Scenario: Licensing Issue 20. You attempt to assign a license in Azure to several users and receive the following error message: "Licenses not assigned. License agreement failed for one user." Updated AZ-104 Exam Questions [2022] To Pass Microsoft AZ-104 Exam 21. You verify that the Azure subscription has the available licenses. Solution: License cannot be assigned to a user without a usage location specified. Some Microsoft services aren't available in all locations because of local laws and regulations. Before you can assign a license to a user, you must specify the Usage location property for the user. You can specify the location under the User > Profile > Settings section in the Azure portal. Reference: https://docs.microsoft.com/en-us/azure/active-directory/users-groups- roles/licensing-groups-resolve-problems 22.DRAG DROP You need to prepare the environment to ensure that the web administrators can deploy the web apps as quickly as possible. Which three actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order. Answer: Updated AZ-104 Exam Questions [2022] To Pass Microsoft AZ-104 Exam Explanation: Scenario: 23. Web administrators will deploy Azure web apps for the marketing department. 24. Each web app will be added to a separate resource group. 25. The initial configuration of the web apps will be identical. 26. The web administrators have permission to deploy web apps to resource groups. Steps: 1 --> Create a resource group, and then deploy a web app to the resource group. 2 --> From the Automation script blade of the resource group, click Add to Library. 3 --> From the Templates service, select the template, and then share the template to the web administrators. References: https://docs.microsoft.com/en-us/azure/azure-resource- manager/templates/quickstart-create-templates-use-the-portal 27. Topic 3, Contoso Ltd Overview Contoso, Ltd. is a manufacturing company that has offices worldwide. Contoso works with partner organizations to bring products to market. Contoso products are manufactured by using blueprint files that the company authors and maintains.